package com.dps.recommend.config;

import org.springframework.boot.actuate.health.Health;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CheckServer {

    @RequestMapping(value = "/checkServer", method = {RequestMethod.GET, RequestMethod.POST})
    public Health checkServer() {
        return Health.up().build();
    }
}
